package com.lyz.myself.pojo.Po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 本表用来存放用户的相关基本信息
 */
@ApiModel(value="user对象",description="用户对象user")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer user_id;//用户id
    private Integer role_id;//当前使用岗位
    private Integer category_id;//用户类别
    @JsonIgnore
    private Integer status;
    @ApiModelProperty(value="用户名",name="name",example="xiaoming")
    private String name;//用户名
    private String img;//头像
    private String password;//用户密码
    @JsonIgnore
    private String salt;//安全符
    private Integer sex;//用户性别1男2女
    private String email;//用户邮箱
    private String telephone;//用户的电话
    private String address;//用户的联系地址
    private String navigation;//用户自定义导航菜单
    private String simple_menu;//自定义快捷添加菜单
    private String dashboard;//个人面板
    @JsonIgnore
    private String reg_ip;//注册时的ip
    private Integer reg_time;//用户的注册时间
    private Integer last_login_time;//用户最后一次登录的时间
    private Integer lostpw_time;//用户申请找回密码的时间
    private String weixinid;//用户的电话
    private String last_read_time;//商机等最后阅读时间
    private String binding_vader;
    private Integer company_id;//公司id
    @JsonIgnore
    private List<Role> roleList;

    public Integer getCompany_id() {
        return company_id;
    }

    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }

    public String getBinding_vader() {
        return binding_vader;
    }

    public void setBinding_vader(String binding_vader) {
        this.binding_vader = binding_vader;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public Integer getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Integer category_id) {
        this.category_id = category_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNavigation() {
        return navigation;
    }

    public void setNavigation(String navigation) {
        this.navigation = navigation;
    }

    public String getSimple_menu() {
        return simple_menu;
    }

    public void setSimple_menu(String simple_menu) {
        this.simple_menu = simple_menu;
    }

    public String getDashboard() {
        return dashboard;
    }

    public void setDashboard(String dashboard) {
        this.dashboard = dashboard;
    }

    public String getReg_ip() {
        return reg_ip;
    }

    public void setReg_ip(String reg_ip) {
        this.reg_ip = reg_ip;
    }

    public String getWeixinid() {
        return weixinid;
    }

    public void setWeixinid(String weixinid) {
        this.weixinid = weixinid;
    }

    public String getLast_read_time() {
        return last_read_time;
    }

    public void setLast_read_time(String last_read_time) {
        this.last_read_time = last_read_time;
    }

    public Integer getReg_time() {
        return reg_time;
    }

    public void setReg_time(Integer reg_time) {
        this.reg_time = reg_time;
    }

    public Integer getLast_login_time() {
        return last_login_time;
    }

    public void setLast_login_time(Integer last_login_time) {
        this.last_login_time = last_login_time;
    }

    public Integer getLostpw_time() {
        return lostpw_time;
    }

    public void setLostpw_time(Integer lostpw_time) {
        this.lostpw_time = lostpw_time;
    }


}
